package com.example.pceb.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.pceb.VO.ApplyInformationVO;
import com.example.pceb.entity.*;
import com.example.pceb.result.Result;

import java.util.List;

public interface AdminService {
    Result<List<Information>> getAllInformation();
    Result<List<Information>> getPolicy();
    Result<List<Information>> getBusiness();
    Result<List<Information>> getRecruit();
    Result<List<Information>> getCooperation();
    Result<List<Enterprise>> getEnterprise();
    Result<List<School>> getSchool();

    Result<List<ApplyInformationVO>> getExamine();
    Result<String> delExamine(List<Integer> idList);
    Result<String> qualifiedExamine(int id,int isPass);

    Result<String> addInformation(Information information);
    Result<String> delInformation(List<Integer> idList);
    Result<String> updateInformation(Information information);

    Result<String> addStudent(Student student);
    Result<String> delStudent(List<String> idList);
    Result<String> updateStudent(Student student);

    Result<String> addEnterprise(Enterprise enterprise);
    Result<String> delEnterprise(List<String> idList);
    Result<String> updateEnterprise(Enterprise enterprise);

    Result<String> addSchool(School school);

    Result<String> delSchool(List<Integer> idList);

    Result<String> updateSchool(School school);

    Result<List<QueBank>> getAllQuestionBank();

    // 新增：更新管理员头像
    Result<String> updateAdminAvatar(Integer adminId, String avatarUrl);
}
